/*
 * GES.java
 *
 * Created on 8 de agosto de 2007, 19:47
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package gep.ges;

import gep.db.Conector;
import java.sql.SQLException;
import gep.objetos.Juego;

/**
 *
 * @author AdminPremiaLocal
 */
public class GES {
    private Conector c;
    private JuegosGes jg;
    private PelisGes pg;
    private SoftGes sg;
    private MusicGes mg;
    
    
    /** Creates a new instance of GES */
    public GES() throws ClassNotFoundException, SQLException {
        c = new Conector();
        jg = new JuegosGes(c);
        //pg = new PelisGes();
        //sg = new SoftGes();
        //mg = new MusicGes();
    }
    
  public int guardar(Juego j) throws SQLException{
      return jg.guardarJuego(j);
  }
}
